package com.example.doudou.demos.pojo;

/**
 * @Author fangtao
 * @Date 2025 02 06 14 23
 * @Description 业务操作类型
 **/
public enum BusinessType {

    CAPTCHA(0,"获取验证码"),
    REGISTER_BATCH(1,"批量注册"),
    REGISTER(2,"用户注册"),
    SET_TOPIC(3,"设置题目"),
    UPDATE_TOPIC(4,"更新题目信息"),
    DEL_TOPIC_LOGIC(5,"逻辑删除题目"),
    DEL_TOPIC_permanent(6,"永久删除题目"),
    RECOVER_TOPIC(7,"恢复所删题目"),
    NEWCOMER_SUBMIT_TOPIC(8,"候选人提交解题"),
    NEWCOMER_UPDATE_ANS(9,"候选人修改答案"),
    UPDATE_NEWCOMER(10,"管理员更新候选人信息"),
    JUDGE_SETTING(11,"判题人设置"),
    JUDGER_DELETE(12,"删除判题人"),
    JUDGE_TOPIC(13,"题目评分"),
    ENROLL(14,"一键录取候选人"),
    NOT_ENROLL(15,"取消录取资格"),
    SCORE_LINE(16,"分数线设置"),
    ANS_TIME(17,"答题时间设置"),
    REGISTER_SETTING(18,"修改注册开关"),
    EMAIL(19,"系统邮件发送"),
    FILE_EXPORT(20,"文件导出"),
    UPDATE_PROFILE(21,"更新个人信息"),
    UPDATE_PWD(22,"更新密码"),
    ALLOT_NEWCOMER(23,"分配新人"),
    CALC_SCORE(24,"计算零分用户"),
    DEL_ADMIN_REPLYS(25,"删除工作人员作答记录"),
    SET_ENR_STATUS(26,"设置录取状态"),
    DEL_LOG(27,"删除操作日志"),
    CLEAR_LOG(28,"清空操作日志"),
    FILE_UPLOAD(29,"文件上传"),
    DEL_FILE(30,"删除文件"),
    EXP_LOG(31, "导出日志文件"),
    AI_JUDGE(32, "AI判题"),
    OTHER(33,"其它");

    final int number;
    final String description;

    BusinessType(int number, String description) {
        this.number = number;
        this.description = description;
    }

    public int getNumber() {
        return number;
    }

    public String getDescription() {
        return description;
    }
}
